package edu.scau.comeva.rigcontrol.entity;

import javax.persistence.*;
import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: Dan
 * Date: 13-8-18
 * Time: 上午1:01
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table
public class m_studentDetal implements Serializable {
    private long student_detal_id;
    private String student_detal_name;
    private String student_detal_no;
    private m_student studentdetal_student;

    @Id
    @GeneratedValue
    public long getStudent_detal_id() {
        return student_detal_id;
    }

    public void setStudent_detal_id(long student_detal_id) {
        this.student_detal_id = student_detal_id;
    }

    public String getStudent_detal_name() {
        return student_detal_name;
    }

    public void setStudent_detal_name(String student_detal_name) {
        this.student_detal_name = student_detal_name;
    }

    public String getStudent_detal_no() {
        return student_detal_no;
    }

    public void setStudent_detal_no(String student_detal_no) {
        this.student_detal_no = student_detal_no;
    }

    @OneToOne
    public m_student getStudentdetal_student() {
        return studentdetal_student;
    }

    public void setStudentdetal_student(m_student studentdetal_student) {
        this.studentdetal_student = studentdetal_student;
    }
}
